package com.wfcm.service.impl;

import com.wfcm.dao.WfMemberSessionDao;
import com.wfcm.dao.WfMyCourseSortDao;
import com.wfcm.entity.WfCourseInSort;
import com.wfcm.entity.WfMyCourseSort;
import com.wfcm.service.WfMyCourseSortService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service("wfMyCourseSortService")
public class WfMyCourseSortServiceImpl implements WfMyCourseSortService {
	@Autowired
	private WfMyCourseSortDao wfMyCourseSortDao;
	@Override
	public List<WfMyCourseSort> queryList(Map<String, Object> map) {
		return wfMyCourseSortDao.queryList(map);
	}

	@Override
	public List<WfCourseInSort> queryCourseInSort(Map<String, Object> map) {
		return wfMyCourseSortDao.queryCourseInSort(map);
	}


	@Override
	public void save(WfMyCourseSort myCourseSort) {
		wfMyCourseSortDao.save(myCourseSort);
	}

	@Override
	public void update(WfMyCourseSort myCourseSort) {
		wfMyCourseSortDao.update(myCourseSort);
	}

	@Override
	public void delete(Integer id) {
		wfMyCourseSortDao.delete(id);
	}

	@Override
	public void deleteBatch(String[] id) {
		wfMyCourseSortDao.deleteBatch(id);
	}

}
